import request from '../utils/request';
import url from '../utils/url';


//等级列表
export function memberLevelList(params) {
    return request(url.memberLevelList, {
        method: 'POST',
        params
    });
}

export function addMemberLevel(params) {
    return request(url.addMemberLevel, {
        method: 'POST',
        params
    });
}
//图片上传
export function imgs(params) {
    return request(url.imgs, {
        method: 'POST',
        params
    })

}
export function delLevel(params) {
    return request(url.delLevel, {
        method: 'POST',
        params
    });
}
export function updateMemberLevel(params) {
    return request(url.updateMemberLevel, {
        method: 'POST',
        params
    });
}